<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>律师事务所</title>
    <link rel="stylesheet" href="../css/contact.css">
    <script src="../js/jquery.js"></script>
    <script src="../js/common.js"></script>
    <script src="//api.map.baidu.com/api?type=webgl&v=1.0&ak=PD6FYlZEmbZtRU7ss9meXR5jqR0OBulA"></script>

</head>
<body>
<div class="top1"></div>
<div class="banner1"></div>
<div class="middle">
    <div>
        <div>
            <div>
                <div>洛网律师事务所</div>
                <div>
                    <div>地址:四川省成都市孵化园</div>
                    <div>电话: 0280000000(座机)</div>
                    <div>
                        传真: 000-66668888
                    </div>
                </div>
            </div>
            <div>
                <div>邮编: 510000</div>
                <div>手机: 0280000000</div>
                <div>邮箱: admin@163.com</div>
            </div>
            <div id="map"></div>
        </div>
    </div>
    <div>
        <div>
            <div>您的建议是我们最大的动力</div>
            <div>您有好的建议欢迎给我们提供</div>
        </div>
    </div>
    <div>
        <div>
            <div>
                <div>
                    <div>
                        <div>
                            <div>您的姓名</div>
                            <div>*</div>
                        </div>
                        <div><input type="text"> </div>
                    </div>
                    <div>
                        <div>
                            <div>联系电话</div>
                            <div>*</div>
                        </div>
                        <div><input type="text"></div>
                    </div>
                </div>
                <div>
                    <div>
                        <div>
                            <div>电子邮箱</div>
                            <div>*</div>
                        </div>
                        <div><input type="text"></div>
                    </div>
                    <div>
                        <div>
                            <div>留言内容</div>
                            <div>*</div>
                        </div>
                        <div><input type="text"></div>
                    </div>
                </div>

            </div>
            <div>马上提交</div>
        </div>

    </div>

</div>
<div class="foot1"></div>

</body>
</html>
<script>
    var map = new BMapGL.Map('map'); // 创建Map实例
    map.centerAndZoom(new BMapGL.Point(104.067968,30.579462), 16); // 初始化地图,设置中心点坐标和地图级别
    map.enableScrollWheelZoom(true); // 开启鼠标滚轮缩放

    var point =new BMapGL.Point(104.067968,30.579462)
    var marker = new BMapGL.Marker(point);  // 创建标注
    map.addOverlay(marker);              // 将标注添加到地图中
    var opts = {
        width : 200,     // 信息窗口宽度
        height: 100,     // 信息窗口高度
        title : "万息" , // 信息窗口标题
        message:"四川省成都市孵化园"
    }
    var infoWindow = new BMapGL.InfoWindow("地址：四川省成都市孵化园", opts);  // 创建信息窗口对象
    marker.addEventListener("click", function(){
        map.openInfoWindow(infoWindow, point); //开启信息窗口
    });
</script>